from rest_framework.pagination import PageNumberPagination


class LivePlatformInfoPagination(PageNumberPagination):
    """
    直播平台信息分页类
    """
    page_size = 10
    # 每页查询的参数名称
    page_query_param = "current_page"
    # 每页显示的个数
    page_size_query_param = 'page_size'


class PkModeInfoPagination(PageNumberPagination):
    """
    竞赛模式信息分页类
    """
    page_size = 10
    # 每页查询的参数名称
    page_query_param = "current_page"
    # 每页显示的个数
    page_size_query_param = 'page_size'


class LiveRoomInfoPagination(PageNumberPagination):
    """
    直播间信息分页类
    """
    page_size = 10
    # 每页查询的参数名称
    page_query_param = "current_page"
    # 每页显示的个数
    page_size_query_param = 'page_size'


class PkDetailInfoPagination(PageNumberPagination):
    """
    竞赛详细信息分页类
    """
    page_size = 10
    # 每页查询的参数名称
    page_query_param = "current_page"
    # 每页显示的个数
    page_size_query_param = 'page_size'
